package com.jdls;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 嘉德罗斯
 * @date 2021/9/12
 */
public class App {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");
        Object druid = ac.getBean("druid");
        System.out.println(druid.toString());
    }
}
